getDuration

abstract fun getDuration(block: DesignBlock): Double

Get the playback duration of the given block in seconds. The duration defines for how long the block is active in the scene during playback. Note: The duration is ignored when the scene is not in Video mode.

Return

the block's duration.

Parameters

block

the block whose duration should be returned.